<template>
  <div id="app">
    <!--使用router-link配置路由如口-->
    <ul class="layui-nav layui-bg-cyan">
      <li class="layui-nav-item">  <router-link to="/discoverMusic">发现音乐</router-link></li>
      <li class="layui-nav-item"> <router-link to="myMusic">我的音乐</router-link></li>
      <li class="layui-nav-item"><router-link to="follow">关注</router-link></li>
    </ul>
    <!--使用router-view配置路由出口-->
    <router-view></router-view>
  </div>
</template>

<style lang="less">
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style-type: none;
}
</style>
<script setup>
</script>